package com.ruoyi.project.product.size.mapper;

import com.ruoyi.project.product.size.domain.Size;

import java.util.List;

/**
 * @Auther: 高柯
 * @Date: 2020/4/15
 * @Description: com.ruoyi.project.product.size.mapper
 * @version: 2.0
 */
public interface SizeMapper {

    List<Size> selectSizeList(Size size);

    Size checkSizeNameUnique(String sizeName);

    int insertSize(Size size);

    Size selectSizeById(Long sizeId);

    int updateSize(Size size);

    int deleteSizeByIds(Long[] sizeIds);

    /**
     * 查询产品规格信息
     * @return
     */
    List<Size> selectSize();
}
